﻿using EAMF.Content.Projectiles;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terraria.Enums;
using Terraria.ID;
using Terraria.ModLoader;
using XPT.Core.Audio.MP3Sharp.Decoding;

namespace EAMF.Content.Items.Ammo
{
    public class Pulsebomb : ModItem
    {
        public override void SetDefaults()
        {
            Item.damage = 20;
            Item.DamageType = DamageClass.Ranged;
            Item.width = 10;
            Item.height = 18;
            Item.maxStack = 9999;
            Item.consumable = true;
            Item.knockBack = 0.5f;
            Item.value = 5000;
            Item.rare = ItemRarityID.Blue;
            Item.shoot = ModContent.ProjectileType<PulsebombProj>();
            Item.shootSpeed = 30f;
            Item.ammo = AmmoID.Bullet;
        }
    }
}
